#ifndef CTIME_T_H_
#define CTIME_T_H_

class cTime_t {
public:
	// cTime_t(const cTime_t& ct); // Copy constructor
	// ~cTime_t(); // Destructor
	// const cTime_t& operator=(const cTime_t& ct); //Assignment operator

	cTime_t(); //Default constructor
	cTime_t(const int hour, const int minutes, const int seconds);

	void print() const;

	int getHour() const;
	int getMinutes() const;
	int getSeconds() const;

	void setTime(const int hour, const int minutes, const int seconds);

	const cTime_t operator+(const cTime_t& ct); //Addition operator

	static void setFormat(const int format) {
		if (format == 1 || format == 2) {
			printFormat = format;
		}
	}
private:
	int hour;
	int minutes;
	int seconds;

	static int printFormat;

	void updateTime(const int hour, const int minutes, const int seconds);
};

#endif /*CTIME_T_H_*/
